9:39 AM, thierry horsin wrote:
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
Below: part
On 4/19/2021 9:39 AM, thierry horsin wrote:
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
Below: part of the error message
tex error
On 4/19/2021 9:21 AM, thierry horsin wrote:
Hi again everybody
I have tested some more examples. This error occurs when I fix the
current font size to 22 pt (for some slide purposes). For sizes lower
than 22pt, I have no error messages.
can you make a MWE
to the last version of context , I cannot use \frac
anymore in \startformula.
I get the following message "I can't work with sizes bigger than about
19 feet. Continue and I'll use the
largest value I can."
Yet, between $ $ it is fine.
Any ideas ?
M
Hi everybody
Since I updated to the last version of context , I cannot use \frac
anymore in \startformula.
I get the following message "I can't work with sizes bigger than about
19 feet. Continue and I'll use the
largest value I can."
Yet, between $ $ it is fine.
Any ide
In the current beta ( LuaMetaTeX, Version 2.06.05),
\m{\frac{28}{8\times29}}
puts the numerator and denominator too close to the dividing line.
Similarly for the variants of \frac and \over.
\m{{28}\over{8\times29}}
Alan
On 9/28/2018 10:56 PM, Ulrike Fischer wrote:
Due to a question on tex.sx
(https://tex.stackexchange.com/questions/452969/luatex-fontfeaturefractions-on-turns-first-digits-into-superscripts)
I looked again (see
https://www.mail-archive.com/ntg-context@ntg.nl/msg84822.html) at
the frac feature
Due to a question on tex.sx
(https://tex.stackexchange.com/questions/452969/luatex-fontfeaturefractions-on-turns-first-digits-into-superscripts)
I looked again (see
https://www.mail-archive.com/ntg-context@ntg.nl/msg84822.html) at
the frac feature.
The output is still not really satisfactory
Am Wed, 5 Apr 2017 13:00:29 +0200 schrieb luigi scarso:
> if you see
> fonts > otf chain > feature 'frac', type
> 'gsub_contextchain', chain lookup 's_s_7': is not yet supported (1)
> then ... it need to be supported.
Yes, that's what I see ;-(.
--
Ul
On Wed, Apr 5, 2017 at 10:15 AM, Ulrike Fischer <ne...@nililand.de> wrote:
> \starttext
>
> \font\test={file:linlibertine_r.otf:+frac}
> \test 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100
> \stoptext
>
> gives as output
>
> ½ 3¾ 5⅚ 7⅜ 9/10 1⅟12 31415/27182
\starttext
\font\test={file:linlibertine_r.otf:+frac}
\test 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100
\stoptext
gives as output
½ 3¾ 5⅚ 7⅜ 9/10 1⅟12 31415/27182 1000/100
(I couldn't build an example without the primitive command. After
\definefontfeature[frac][frac=yes
On 2/13/2017 4:47 PM, MF wrote:
Hello list,
I found an interference between the "frac" opentype feature and
\setbreakpoints[compound], which make the former fail when you have a
numerator more than 2 digit wide.
I found it with Adobe Garamond Premier Pro: with
\setbreakpoints[compo
Hello list,
I found an interference between the "frac" opentype feature and
\setbreakpoints[compound], which make the former fail when you have a
numerator more than 2 digit wide.
I found it with Adobe Garamond Premier Pro: with
\setbreakpoints[compound], when the fraction had a 3-digi
On Sat, 28 Mar 2015 20:29:15 +0100
Otared Kavian ota...@gmail.com wrote:
Hi Hans,
I just tried the new beta (ConTeXt ver: 2015.03.28 16:30 MKIV beta
fmt: 2015.3.28 int: english/english) It gives an error with the
following minimal example:
\starttext
\startformula
\frac{2}{4
Hi Hans,
I just tried the new beta (ConTeXt ver: 2015.03.28 16:30 MKIV beta fmt:
2015.3.28 int: english/english)
It gives an error with the following minimal example:
\starttext
\startformula
\frac{2}{4}
\stopformula
\stoptext
The error message is:
\math_frac_command -\cclf_mathfraction
smaller letters in
\frac if \setupformulas[align=flushleft] is applied. The test file
below generates the attached pdf.
/Mikael
\starttext
\startformula
z=\frac{x}{y}
\stopformula
\setupformulas[align=flushleft]
\startformula
z=\frac{x}{y}
\stopformula
\stoptext
...@gmail.com wrote:
Hi,
with a standalone installation updated today, I get smaller letters in
\frac if \setupformulas[align=flushleft] is applied. The test file
below generates the attached pdf.
/Mikael
\starttext
\startformula
z=\frac{x}{y}
\stopformula
\setupformulas[align=flushleft
On 10/16/2014 1:29 PM, Mikael P. Sundqvist wrote:
Sorry, another problem appear (maybe was apparent before as well):
fixed in next beta ... there might be a few more cases left
Hans
-
Hi,
with a standalone installation updated today, I get smaller letters in
\frac if \setupformulas[align=flushleft] is applied. The test file
below generates the attached pdf.
/Mikael
\starttext
\startformula
z=\frac{x}{y}
\stopformula
\setupformulas[align=flushleft]
\startformula
z=\frac{x
ver: 2014.05.21 22:04 MKIV beta fmt: 2014.6.27 int:
english/english
Best regards: OK
On 15 Oct 2014, at 19:03, Mikael P. Sundqvist mic...@gmail.com wrote:
Hi,
with a standalone installation updated today, I get smaller letters in
\frac if \setupformulas[align=flushleft] is applied
Am 07.10.2014 um 09:20 schrieb Hans Hagen pra...@wxs.nl:
On 10/7/2014 7:33 AM, Mikael P. Sundqvist wrote:
On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
\setupmathradical[alternative=default]
Very good!
Hans, will the default be default in next
On 10/7/2014 7:33 AM, Mikael P. Sundqvist wrote:
On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
\setupmathradical[alternative=default]
Very good!
Hans, will the default be default in next beta? :)
no, but there will be different settings ... the
On Fri, Oct 3, 2014 at 1:30 PM, Mikael P. Sundqvist mic...@gmail.com wrote:
Hi!
Is this (see frac.pdf) the expected output of \frac and \tfrac in
combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac.
I attach also the output from the corresponding latex document, having
On Mon, 6 Oct 2014, Mikael P. Sundqvist wrote:
On Fri, Oct 3, 2014 at 1:30 PM, Mikael P. Sundqvist mic...@gmail.com wrote:
Hi!
Is this (see frac.pdf) the expected output of \frac and \tfrac in
combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac.
I attach also the output from
On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
\setupmathradical[alternative=default]
Very good!
Hans, will the default be default in next beta? :)
Best regards, Mikael
___
If
Hi!
Is this (see frac.pdf) the expected output of \frac and \tfrac in
combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac.
I attach also the output from the corresponding latex document, having
the result I expect.
Best regards, Mikael
PS Compilation done with latest standalone
Hans Hagen pra...@wxs.nl writes:
these are font properties and using a consistent opentype math versus
a bunch of loosely related type one fonts makes a difference
But shouldn't TeXGyrePagellaMath qualify?
I've added:
\starttext
$\displaystyle 1+{2g\over3}+{2\over3}$ \blank
On 5/2/2014 4:46 AM, Sanjoy Mahajan wrote:
I've noticed the following issue with how high the numerator is placed,
but only when using Palatino:
\setupbodyfont[palatino]
\starttext
\startformula
{3\over4}\quad {1\over2}
\stopformula
\stoptext
The 3 and the 1 sit quite high above the division
I just compared MkII and MkIV in this respect, and the MkII fraction
looks more symmetric (more correct) than the MkIV version.
Here is the MkII code:
\usetypescript[palatino][ec]
\setupbodyfont[palatino]
\starttext
\startformula
{3\over4}\quad {1\over2}
\stopformula
\stoptext
I've attached
I've noticed the following issue with how high the numerator is placed,
but only when using Palatino:
\setupbodyfont[palatino]
\starttext
\startformula
{3\over4}\quad {1\over2}
\stopformula
\stoptext
The 3 and the 1 sit quite high above the division line, esp. in
comparison with the gap below
Hi,
\starttext
\math{\frac12}
\stoptext
gives
! LuaTeX error [string \directlua ]:1: attempt to call field 'math_frac' (a n
il value)
stack traceback:
[string \directlua ]:1: in main chunk.
Marco
signature.asc
Description: Digital signature
On Tue, 16 Apr 2013 09:52:08 +0200
Marco Patzer home...@lavabit.com wrote:
Hi,
\starttext
\math{\frac12}
\stoptext
gives
! LuaTeX error [string \directlua ]:1: attempt to call field
'math_frac' (a n il value)
stack traceback:
[string \directlua ]:1: in main chunk.
On 4/16/2013 9:52 AM, Marco Patzer wrote:
Hi,
\starttext
\math{\frac12}
\stoptext
gives
! LuaTeX error [string \directlua ]:1: attempt to call field 'math_frac' (a n
il value)
stack traceback:
[string \directlua ]:1: in main chunk.
ah, missing file, i'll upload a new zip (first
Am 03.12.2011 um 19:56 schrieb Paul Menzel:
Dear ConTeXt folks,
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula
n \choose \frac{n}2
\stopformula
\CONTEXT\ \contextmark
Am Sonntag, den 04.12.2011, 09:52 +0100 schrieb Wolfgang Schuster:
Am 03.12.2011 um 19:56 schrieb Paul Menzel:
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula
n \choose \frac{n}2
Dear ConTeXt folks,
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula
n \choose \frac{n}2
\stopformula
\CONTEXT\ \contextmark\ \contextversion\ with \texenginename
Dear Paul,
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
Please try $\displaystyle{n \choose \frac{n}2}$.
It is working for me.
I hope it is what you are looking for.
best regards,
Dalyoung
Hi
I am using context to run a metapost graph. I am however unable to
insert a label with \frac, since this is not pure Tex but Latex. This
seems to be a known problem for metapost:
-Seems for metapost only, one should add %latex
(http://ryanmlayer.wordpress.com/tag/metapost/).
-I saw also
$) scaled 1.00, (0,
10));
label.top(textext($\displaystyle \frac{\sigma_t}{a}$) scaled 1.00, (1,
1));
works ok (only tested mkiv); also \frac is available in context
Hans
-
Hans
mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
I tried then to simply add \usemodule[newmat] and compile with context,
but did not work... Code below, error message below below...
Thanks a lot
Matthieu
Code:
\usemodule[newmat]
\starttext
\setupMPpage[offset
ubuntu).
no, use the 'context' command as texexec is for mkii
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv there is no m-newmath
I tried
what is wrong?
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv there is no m-newmath
I tried then to simply add \usemodule[newmat] and compile
? Would you be so nice and
send complete file, so I can check what is wrong?
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv there is no m-newmath
I
with the code you sent... you didn't? Would you be so nice and
send complete file, so I can check what is wrong?
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv
On 26-4-2011 5:17, Matthieu Stigler wrote:
MTXrun | current version: 2009.11.26 16:2
that's rather old for a luatex/context combination
on the wiki you can find how to install minimals (takes a few minutes
only, no compilation needed)
Hans
\usetypescript[cambria]
\setupbodyfont[cambria,8pt]
\starttext
\inlinemath{\displaystyle\frac{(1-0.1) -
0.89803921568627}{1-0.1}}%
{\switchtobodyfont[modern,8pt] \inlinemath{\displaystyle\frac{(1-0.1) -
0.89803921568627}{1-0.1}}}
\stoptext
IMO the numerator with cambria is too much distant from
On Wed, 19 Aug 2009, Wolfgang Schuster wrote:
And with \frac it can be configured at context low level (why no key for
\setupmathematics?)
\chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle,
4=scriptscriptstyle, 5=mathstyle
$\frac{a}{b}$
I am thinking
Is there another macro in Context called \frac and if so how is it
called?
I use (e)grep in this situations, it's more texnician.
luigi
___
If your question is of interest to others as well, please add an entry
Knuth defines a macro for simple fractions such as 3/4 etc. and calls
it \frac:
\def\frac#1/#2{\leavevmode
\kern.1em \raise .5ex \hbox{\the\scriptfont0 #1}%
\kern-.1em $/$%
\kern -.15em \lower .25ex \hbox{\the\scriptfont0 #2}}%
The call is e.g., \frac 3/4.
This works fine in Context. However
On 4/22/07, John R. Culleton [EMAIL PROTECTED] wrote:
Knuth defines a macro for simple fractions such as 3/4 etc. and calls
it \frac:
\def\frac#1/#2{\leavevmode
\kern.1em \raise .5ex \hbox{\the\scriptfont0 #1}%
\kern-.1em $/$%
\kern -.15em \lower .25ex \hbox{\the\scriptfont0 #2}}%
The call
On Sun, 22 Apr 2007, John R. Culleton wrote:
Knuth defines a macro for simple fractions such as 3/4 etc. and calls
it \frac:
\def\frac#1/#2{\leavevmode
\kern.1em \raise .5ex \hbox{\the\scriptfont0 #1}%
\kern-.1em $/$%
\kern -.15em \lower .25ex \hbox{\the\scriptfont0 #2}}%
The call is e.g
On Fri, 26 Jan 2007, Taco Hoekwater wrote:
Hubertus wrote:
Hi all again,
I try to do something like 1/2 with an upper 1 and a lower 2. The code below
still doesn't quite work.
\def\nfrac#1#2{\leavevmode\kern.1em%
\raise.5ex\hbox{\scriptsize #1}%
\kern-.1em/\kern-.15em%
Hi all again,
I try to do something like 1/2 with an upper 1 and a lower 2. The code below
still doesn't quite work.
\def\nfrac#1#2{\leavevmode\kern.1em%
\raise.5ex\hbox{\scriptsize #1}%
\kern-.1em/\kern-.15em%
\lower.25ex\hbox{\scriptsize #2}}
Help would be very much appreciated!
Hubertus wrote:
Hi all again,
I try to do something like 1/2 with an upper 1 and a lower 2. The code below
still doesn't quite work.
\def\nfrac#1#2{\leavevmode\kern.1em%
\raise.5ex\hbox{\scriptsize #1}%
\kern-.1em/\kern-.15em%
\lower.25ex\hbox{\scriptsize #2}}
Such a macro is
Hi Brooks,
Then, a couple of lines after that, there's the second definition for
\frac, which is the one that needed patching. This one, unlike the
first definition, is wrapped in \mathematics so that it can work outside
math mode.
So I'm wondering why only \frac has this second definition
Hi Brooks
The following simple file works fine if I comment out the
\usemodule[newmat] line, but crashes if I put it in.
\usemodule[newmat]
\starttext
\placeformula
\startformula
\eqalign{\frac{1}{2} \cr}
\stopformula
\stoptext
ah ... the alignment lookahead problem, i think we
At 01:40 PM 8/2/2004, you wrote:
ah ... the alignment lookahead problem, i think we can safely patch
\mathematics to catch lookahead as well as make frac more robust for
unwanted expansion
\usemodule[newmat]
\unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}}
\def
Brooks Moses wrote:
At 01:40 PM 8/2/2004, you wrote:
ah ... the alignment lookahead problem, i think we can safely patch
\mathematics to catch lookahead as well as make frac more robust for
unwanted expansion
\usemodule[newmat]
\unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1
to support using math constructs such as \frac
do they need patching? they don't use \mathematics afaik
They don't need patching in the sense of fixing a bug, no -- it's more a
matter of consistency in behavior.
What I see is that there's a list of definitions for \frac, \dfrac,
\tfrac
The following simple file works fine if I comment out the
\usemodule[newmat] line, but crashes if I put it in.
\usemodule[newmat]
\starttext
\placeformula
\startformula
\eqalign{\frac{1}{2} \cr}
\stopformula
\stoptext
- Brooks
___
ntg
61 matches
Mail list logo